package DesignPatern.A03_抽象工厂模式.B站;

/**
 * @Author: Du
 * @Date: 2021/7/21 8:31
 * <p>
 * 超级工厂，可以同时生成手机和口罩
 */
public class SuperFactory implements AbstractFactory
{
    @Override
    public Phone createPhone()
    {
        return new Huawei();
    }
    
    @Override
    public Mask createMask()
    {
        return new N95();
    }
}
